package server.main.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import server.main.mapper.PermissionMapper;
import server.main.pojo.Permission;

import java.util.List;

/**
 * @auther MingHsZzz
 * @Date 2022/9/18  13:42
 * @project main
 * @description
 */

@Service("PermissonService")
public interface PermissonService extends IService<Permission> {


    public List<Permission> getAllpermissions();


    /**
     * 获取所有带有页面信息的permission
     * @return page对象
     */
    public Page<Permission> getAllpermissionByPage(String permissionname, Integer pageNum, Integer pageSize);
}
